import { request } from "@/utils/service"
// 查
export function getclassificationDataApi(params: any) {
  return request({
    url: "/classification/list",
    method: "get",
    params
  })
}
// 增
export function createDataApi(data: any) {
  return request({
    url: "/classification/save",
    method: "post",
    data
  })
}

// 改
export function putDataApi(data: any) {
  return request({
    url: "/classification/update",
    method: "post",
    data
  })
}

// 删除
export function delDataApi(data: any) {
  return request({
    url: "/classification/delete",
    method: "post",
    data
  })
}
